@extends('member.member')

<!-- title -->
@section('title', '我的收藏')

<!-- 中间内容块 -->
@section('rightcontainer')
	 
<div id="wendang" style="background: white;width: 993px; margin-top: 20px;">
    <div class='ent_zhph ent3'>
    	<ul class="mem_cate clearfix">
    		<li class='firt-li'>排序方法:</li>
    		<li>
    			<a href='#' class="ent-bgcolor" >时间</a>
    		</li>
    		<li>|</li>
    		<li>
    			<a href='#' class="" >浏览量</a>
    		</li>
    		<li>|</li>
    		<li>
    			<a href='#' class="" >评论星级</a>
    		</li>
    	</ul>
    </div>
    @foreach($documents as $key=>$document)
    <div class="mem_cont @if($key>0) bordertop @endif" id="news_{{$document->collectid}}">
    	<div class="fl cont_pic">
    		<a href="{{url('/company/'.$document->id)}}">
    		  <img src="@if(!empty($document->logo)){{$document->logo}}@else{{ asset('/images/front/adriod.png')}}@endif" width="170">
    	    </a>
    	</div>
    	<div class="fl cont_text" >
    		<div class="list-title" >
        		<a href="{{url('/company/'.$document->id)}}"><span class="fl ft-18 cor-2">{{$document->name}}</span></a> <span class="ft-14 ml-10"></span>
        		<span class="fr">
        			<a href="javascript:void(0)" onclick="delete_one('/member/collect/{{$document->collectid}}?app=company','{{$document->collectid}}','{{csrf_token()}}')">
        			 <img src="{{ asset('/images/front/member/trash.png')}}">
        			</a>
        		</span>
        		<div class="clearfix"></div>
    	   </div>
    	   <div class="ft-14 cor-4" >收藏时间：<span>{{$document->utime}}</span></div>
           <div class="ft-14">
    			<ul class="mem_bt">
    				<li class="ft-14 cor-4">电话：<span>{{$document->phone}}</span></li>
    				<li class="ml-10 ft-14 cor-4" >发展阶段：<span>{{$document->scalename}}</span></li>
    				<li class="ml-10 ft-14 cor-4">规模：<span>{{$document->developname}}</span></li>
    			</ul>
    			<span class="fr ft-14 cor-4"> 发表于{{date("Y-m-d",strtotime($document->created_at))}}</span>
    			<div class="clearfix"></div>
        	</div>
        </div>
    	<div class="clearfix"></div>
    </div>
    @endforeach
    <div class="paginate">{!! $documents->render() !!} </div>
    
</div>
@stop

<!-- 底部块 -->
@section('footer')
    @parent
@stop

